package com.jie.other.constant

import com.jie.commonlib.network.http.HttpCommonConstant

/**
 * @author jie
 */
object HttpConstant {
    /** 获取token */
    const val URL_OAUTH_TOKEN = "/oauth/token"

    /** 退出登录 */
    const val URL_LOGOUT = HttpCommonConstant.API_V1 + "/user/logout"

    /** 数据字典列表接口  */
    const val GET_DICT_URL = HttpCommonConstant.API_V1 + "/resource/getByKey/" //{key}获取对应的key

    /** 单位列表  */
    const val GET_UNIT_LIST =
        HttpCommonConstant.API_V1 + "/resource/unit/list" //单位列表接口{buildingId}(楼栋ID)//{key}获取对应的key

    /** 楼栋列表  */
    const val GET_BUILD_LIST =
        HttpCommonConstant.API_V1 + "/resource/building/list" //楼栋列表接口;//单位列表接口{buildingId}(楼栋ID)//{key}获取对应的key

    /** 新增楼栋接口  */
    const val POST_ADD_BUILD = HttpCommonConstant.API_V1 + "/resource/building/add" //新增楼栋接口(三小-基础版)

    /** 图片上传接口（单张图片上传） */
    const val POST_UPLOAD_FILE = HttpCommonConstant.API_V1 + "/file/uploadFile"
}